<?php include("includes/session.php"); ?>
<!DOCTYPE html PUBLIC
"-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title><?php echo $lang['PAGE_TITLE_ADMIN_RESOURCES']; ?></title>
<?php include("header.php"); ?>
	<center>
	<table cellpadding="0" cellspacing="0" width="80%">
	<tr>
		<td align="left">
			<?php 
			if($session->userlevel <= 1)
			{
				echo "<center><h2>Restricted Area</h2></center>";
			}
			else
			{
			?>
			<br /><br />
			<center>
			<table cellpadding="10" cellspacing="0" class="border">
			<tr><td class="title" align="left"><?php echo $lang['ADMIN_RESOURCES_LISTALL']; ?></td></tr>
			<tr>
				<td>
					<?php displayAdminAllResources(); ?>
				</td>
			</tr>
			</table>
			</center>
			<?php
			}
			?>
		</td>
	</tr>
	</table>
	</center>
<?php include("footer.php"); ?>